<?php get_header(); ?>
	<div id="wrapper">
		<div id="content">
		<?php if(have_posts()): ?>

			<?php while(have_posts()): the_post(); ?>
				<div class="post-top">
					<div class="entry-date">					
						Beitrag von <?php the_author(); ?> erstellt am <?php the_time('l, j F Y'); ?>
					</div>
				</div>
				
				<div class="post-bg">

				<div <?php post_class() ?> id="post-<?php the_ID(); ?>">
					<h2>
						<a href="<?php the_permalink(); ?>" title="<?php the_title() ?>">
							<?php the_title(); ?>
						</a>
					</h2>
	
					<div class="entry-content">
						<?php the_content(); ?>
	
						<?php wp_link_pages('before=<div id="page-links">Page: &after=</div>'); ?>

						<?php edit_post_link('Beitrag bearbeiten','<div class="edit-post">','</div>'); ?>
					</div>

				</div>

				</div>
				<div class="post-bottom"></div>
			<?php endwhile; ?>

		<?php else: ?>
			<h2 class="center">Not Found</h2>
			<p class="center">Sorry, but you are looking for something that isn't here.</p>
		<?php endif; ?>

		</div> <!-- content end -->

	</div> <!-- container end -->



<?php get_sidebar(); ?>

<?php get_footer(); ?>

